Lighting system including a power backup device

ABSTRACT

A system may include a light source. A converter may be configured to convert an AC voltage to a DC operating voltage during normal operation. A power backup device may be coupled to the converter. A current source may have a first terminal configured to receive the DC operating voltage during regular operation and a second terminal configured to provide a pulse-width modulated (PWM) signal to an anode end of the light source. A switching device may have a first connecting terminal coupled to the anode end of the light source, a second connecting terminal coupled to the power backup device, and a control terminal coupled to the converter. The switching device may be configured to open a switch between the first connecting terminal and the second connecting terminal during normal operation and close the switch upon detecting an interruption of the DC operating voltage at the control terminal.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/268,116, filed on Feb. 5, 2019, which is a continuation of U.S. patent application Ser. No. 16/020,520, filed on Jun. 27, 2018, which issued as U.S. Pat. No. 10,205,342 on Feb. 12, 2019, which is a continuation of U.S. patent application Ser. No. 15/730,386, filed Oct. 11, 2017, which issued as U.S. Pat. No. 10,027,166 on Jul. 17, 2018, which claims the benefit of U.S. Provisional Application No. 62/407,382, filed Oct. 12, 2016, U.S. Provisional Application No. 62/426,085, filed Nov. 23, 2016, and EP Patent Application No. 17155961.0, filed Feb. 14, 2017, which are incorporated by reference as if fully set forth.

BACKGROUND

Safety codes in many municipal jurisdictions often require the provision of sufficient and suitable lighting in buildings to ensure the reasonable safety of persons entering and exiting the buildings. This includes a requirement to provide emergency lighting to enable persons to escape from buildings when mains power is not available.

Emergency lighting systems commonly include a power backup device that is designated to provide backup power in the event of a mains power outage. Light fixtures in those systems are often wired to the power backup device and the power grid at the same in time. However, because a single power backup device can be used to power multiple light fixtures, some lighting systems include lengthy wire runs between their light fixtures and their power backup device. Having lengthy wire runs can be problematic in instances in which pulse-width modulated (PWM) signals are used to drive the light fixtures. In such instances, the wires can become a source of parasitic inductance, which can cause voltage spikes and ringing. Accordingly, the need exists for improved lighting system designs that avoid the generation of large amounts of parasitic inductance.

SUMMARY

A system may include a light source. A converter may be configured to convert an AC voltage to a DC operating voltage during normal operation. A power backup device may be coupled to the converter. A current source may have a first terminal configured to receive the DC operating voltage during regular operation and a second terminal configured to provide a pulse-width modulated (PWM) signal to an anode end of the light source. A switching device may have a first connecting terminal coupled to the anode end of the light source, a second connecting terminal coupled to the power backup device, and a control terminal coupled to the converter. The switching device may be configured to open a switch between the first connecting terminal and the second connecting terminal during normal operation and close the switch upon detecting an interruption of the DC operating voltage at the control terminal.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings described below are for illustration purposes only. The drawings are not intended to limit the scope of the present disclosure. Like reference characters shown in the figures designate the same parts in the various embodiments.

FIG. 1 is a circuit diagram of a lighting system, according to the prior art;

FIG. 2 is a circuit diagram of a lighting system, according to aspects of the disclosure;

FIG. 3 is a state diagram illustrating the operation of the lighting system of FIG. 2, according to aspects of the disclosure;

FIG. 4 is a flowchart of an example of a process performed by the lighting system of FIG. 2 when the lighting system of FIG. 2 is in a first state, according to aspects of the disclosure; and

FIG. 5 is a flowchart of an example of a process performed by the lighting system of FIG. 2 when the lighting system of FIG. 2 is in a second state, according to aspects of the disclosure.

DETAILED DESCRIPTION

According to aspects of the disclosure, an improved lighting system is disclosed that generates reduced amounts of electromagnetic interference (EMI). The lighting system may include one or more light-emitting diodes (LEDs) which are powered using a pulse-width modulated (PWM) signal. The PWM signal has the potential to create large amounts of EMI when transmitted over long runs of cable. The improved lighting system, however, features a topology that reduces the amount of EMI that is generated by the transmission of PWM signals. In this topology, PWM signals are delivered to the LEDs via comparatively short runs of cable to reduce the amount of EMI produced by the lighting system.

Examples of implementations of the improved lighting system will be described more fully hereinafter with reference to the accompanying drawings. These examples are not mutually exclusive, and features found in one example can be combined with features found in one or more other examples to achieve additional implementations. Accordingly, it will be understood that the examples shown in the accompanying drawings are provided for illustrative purposes only, and they are not intended to limit the disclosure in any way. Like numbers refer to like elements throughout.

It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present invention. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.

It will be understood that when an element such as a layer, region or substrate is referred to as being “on” or extending “onto” another element, it can be directly on or extend directly onto the other element or intervening elements may also be present. In contrast, when an element is referred to as being “directly on” or extending “directly onto” another element, there are no intervening elements present. It will also be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present. It will be understood that these terms are intended to encompass different orientations of the element in addition to any orientation depicted in the figures.

Relative terms such as “below” or “above” or “upper” or “lower” or “horizontal” or “vertical” may be used herein to describe a relationship of one element, layer or region to another element, layer or region as illustrated in the figures. It will be understood that these terms are intended to encompass different orientations of the device in addition to the orientation depicted in the figures.

FIG. 1 is a circuit diagram of a lighting system 100, in accordance with the prior art. The lighting system 100 includes a power backup device 112 and an AC-to-DC converter 116 which are both connected to an AC power supply. The AC power supply may include a municipal power grid, and/or any other suitable source of line voltage. The AC-to-DC converter 116 is configured to power both a light source 120 and a light source 124 when power from the AC power supply is available. The power backup device 112, on the other hand, is configured to power only the light source 124 when the supply of power to the AC-to-DC converter 116 is interrupted in the event of a failure of the AC power supply (e.g., a mains power outage, etc.).

The power backup device 112 may include a battery 114, a switch and a switch K2. When power from the AC power supply is available, the switch K1 is configured to connect line 144 to line 146 in order to route power from the current source 122 to the light source 124. Furthermore, when power from the AC power supply is available, the switch K2 is configured to disconnect the negative terminal of the battery 144 from the return path of the light source 124. When the supply of power from the AC power supply is interrupted, the switch K1 is re-configured to disconnect the wire 144 from the wire 146. Furthermore, when the supply of power from the AC power supply is interrupted, the switch K2 is re-configured to connect the negative terminal of the battery 114 to the return path of the light source 124. Connecting the negative terminal of the battery to the light source 124 ensures that the light source 124 can remain operational while power from the AC power supply is unavailable. Stated succinctly, according to the arrangement shown in FIG. 1, the positive terminal of the battery 114 is connected to the current source 124 at all times, while the negative terminal of the battery 114 is connected to the return path of the light source 124 only when power from the AC power supply is not available.

The light source 120 may include one or more LEDs. Similarly, the light source 124 may also include one or more LEDs. The LEDs in the light source 120 may be configured to emit light having a first color temperature, and the LEDs in the light source 124 may be configured to emit light having a second color temperature that is different from the first color temperature. For example, the LEDs in the light source 120 may be configured to emit light having a color temperature of 3000K, and the LEDs in the light source 124 may be configured to emit light having a color temperature of 4000K.

The light source 120 may be driven by a current source 118 and the light source 124 may be driven by a current source 122. The current source 118 may be configured to generate a PWM signal based on a control signal CTRL received from a controller 140. The duty cycle of the PWM signal may depend on the control signal CTRL that is provided by the controller 140, and it may determine the brightness of the LEDs in the light source 120. The current source 122 may similarly be configured to generate a PWM signal based on the control signal CTRL. The duty cycle of the PWM signal generated by the current source 122 may also depend on the control signal CTRL that is provided by the controller 140, and it may determine the brightness of the LEDs in the light source 124. Stated succinctly, the controller 140 may use the control signal CTRL to adjust the brightness level of the light sources 120 and 124.

The controller 140 may include a processor (not shown) and a Bluetooth interface (not shown). The processor may be configured to generate the control signal CTRL (alone or in combination with other circuitry) based on a voltage signal DIM that is generated by the dimmer interface 132. The dimmer interface 132 may be configured to generate the reference voltage signal based on an input signal that is fed to the dimmer interface 132 by the dimmer controller 126. The dimmer controller 126 may include a slider switch or a knob, which can be physically manipulated by a user in order to set the brightness of the light sources 120 and 124.

The controller 140 and the dimmer interface 132 may be powered by the DC-to-DC converter 130. The DC-to-DC converter 130 may include a voltage regulator (not shown) that is operable to lower the 48V DC signal provided by the AC-to-DC converter 116 to 12V and subsequently feed the 12V signal to the dimmer interface. Furthermore, the DC-to-DC converter may include a linear regulator (not shown) that is operable to further reduce the 12V DC signal provided by the voltage regulator to 3.3V DC and subsequently feed the 3.3V signal to the controller 140.

The PWM signal that is used to power the light source 124 is routed through the power backup device 112 via the lines 144 and 146. This permits the power backup device 112 to control whether the battery 114 or the AC-to-DC converter 116 supplies the power to the LEDs, which in turn eliminates the possibility of double-driving the light source 124 when there is a power fluctuation. It further permits the execution of testing sequences for testing the operational readiness of the lighting system 100 in the event of a power outage.

According to the design of the lighting system 100, the PWM signal output from the current source 122 is routed through the lines 144 and 146 before it reaches the light source 124. The lines 144 and 146 (e.g., wires, cables, power rails, etc.) can be over a meter long and they can reach up to 15 meters each in some products that are available on the market. Having lines this long may be necessitated, for example, by the power backup device 112 being located far away from the light source 124 or a need for the power backup device 112 to power multiple light fixtures that are some distance apart from one another.

During normal operation, when power from the AC power supply is available, the PWM signal (e.g., a 1 kHz PWM signal) generated by the current source 122 for the light source 124 is routed through the power backup device 112 via the switch K1 which connects the lines 144 and 146 to one another. The long wires 144/146 conducting the PWM signal (current) through the power backup device 112 may introduce parasitic inductances. As can be readily appreciated, currents at the PWM frequency, having rise and fall times on the order of 1 microsecond, can cause significant EMI. The corner frequency of the resulting EMI signal may be on the order of 300 kHz. In some aspects, the use of large capacitors C0 and C1 somewhat reduces the EMI, but also reduces the sharpness of the PWM pulses, which affects the accuracy of the brightness and color control. Further, even if the capacitors C0 and C1 were not used, the parasitic capacitances and inductances on the lines 144 and 146, which as noted above could be up to 15 m long, could also cause inconsistent performance due to PWM currents flowing through them.

FIG. 2 is a circuit diagram of a lighting system 200, according to aspects of the disclosure. The lighting system 200 includes a power backup device 212 and an AC-to-DC converter 216 which are both connected to an AC power supply 260. The AC power supply 260 may include a municipal power grid, and/or any other suitable source of line voltage. The AC-to-DC converter 216 may be configured to power both a light source 220 and a light source 224 when power from the AC power supply 260 is available. The power backup device 212, on the other hand, may be configured to power only the light source 224 when the AC-to-DC converter 216 is switched off as a result of the supply of power from the AC power supply 260 being interrupted.

The power backup device 212 may include a battery 214, and switches S1 and S2. Each of switches S1 and S2 may include a spring-loaded relay switch and/or any other suitable type of switching device. In some implementations, the power backup device 212 may further include current-sensing circuitry (not shown) that is arranged to detect when the supply of power from the AC power supply 260 is interrupted. In some implementations, the current-sensing circuitry of the power backup device 212 may be configured to open the switch S1 and close the switch S2 in response to detecting that the supply of power from the AC power supply 260 is interrupted. The current-sensing circuitry of the power backup device 112 may also detect when the supply of power from the AC power supply 260 is resumed and, in response, open the switch S2 while concurrently closing the switch S1. Accordingly, in some implementations, the current sensing circuitry may at least in part transition the power backup device 212 between two different states by reconfiguring the switches S1 and S2 based on whether power from the AC power supply 260 is available.

More specifically, when a supply of power from the AC power supply 260 is available, switch S1 may be configured by the current-sensing circuitry of the power backup device 212 to connect line 244 to line 246, thus causing the positive terminal of the AC-to-DC converter 216 to be connected to the input terminal T_(I) of the current source 222. At the same time, the switch S2 may be configured by the current-sensing circuitry of the power backup device 212 to maintain an open circuit between the negative terminal of the battery 214 and the return path 248 of the light source 224. In some implementations, the lines 244 and 246 (e.g., wires, cables, power rails, etc.) may be substantially longer than the lines spanning from the output terminals T_(O) of the current sources 118 and 222 to the anodes of the light sources 220 and 224. Specifically, in some implementations, the lines 244 and 246 may be between 1 m and 15 in long. As is further discussed below, in system 200, no PWM signals are carried over the lines 244 and 246 which reduces the amount of EMI that is produced by the system 200 in comparison to the system 100).

Furthermore, when a supply of power from the AC power supply 260 is interrupted, switch S1 may be configured by the current-sensing circuitry of the power backup device 212 to disconnect line 244 from line 246, thus causing the positive terminal of the AC-to-DC converter to be disconnected to the input terminal T_(I) of the current source 222. At the same time, the switch S2 may be configured by the current-sensing circuitry of the power backup device 212 to close the circuit between the negative terminal of the battery 214 and the return path 248 of the light source 224.

As illustrated in FIG. 2, the positive terminal of the battery 214 may be connected at all times to the input terminal T_(I) of the current source 222. Furthermore, the negative terminal of the battery 214 may be connected to the return path 248 of the light source 224 only when the supply of power from the AC power supply 260 is interrupted. However, alternative implementations are possible in which the negative terminal of the battery is always connected to the return path 248 while another switching device, is used to connect line 246 to one of line 244 and the positive terminal of the battery 214.

The light source 220 may include one or more LEDs. The LEDs in the light source 220 may be disposed in the same light fixture or in a plurality of light fixtures that are some distance apart from one another. Similarly, the light source 224 may also include one or more LEDs. The LEDs in the light source 224 may also be disposed in the same a light fixture or in a plurality of light fixtures that are some distance apart from one another. According to aspects of the disclosure, the LEDs in the light source 220 may be configured to emit light having a first color temperature, and the LEDs in the light source 224 may be configured to emit light having a second color temperature that is different from the first color temperature. For example, the LEDs in the light source 220 may be configured to emit light having color temperature of 3000K and the LEDs in the light source 224 may be configured to emit light having a color temperature of 4000K.

The light source 220 may be driven by a current source 218 and the light source 224 may be driven by a current source 222. The current source 218 may be configured to generate a PWM signal for driving the light source 220 based on a control signal CTRL received from a controller 240. The duty cycle of the PWM signal may depend on the control signal CTRL, and it may determine the brightness of the LEDs in the light source 220. The current source 222 may be similarly configured to generate a PWM signal for driving the light source 224 based on the control signal CTRL. The duty cycle of the PWM signal generated by the current source 222 may also depend on the control signal CTRL that is provided by the controller 240 and determine the brightness of the one or more LEDs in the light source 224. Stated succinctly, the control signal CTRL provided by the controller 240 may set the brightness level of the light sources 220 and 224.

The switching device S3 and the current source 222 may be coupled in parallel to the light source 224 and the power backup device 212. The current source 222 may be arranged on a first electrical path between the power backup device 212 and the light source 224 and the switching device S3 may be arranged on a second electrical path between the power backup device 212 and the light source 224. The first electrical path may span nodes N1, N2, and N3. And the second electrical path may span nodes N1, N4, N5, N2, and N3. In some implementations, the difference between the first electrical path and the second electrical path may be in that the first electrical path does not extend: (1) between nodes N1 and N4 and (2) between nodes N4 and N5, while the second electrical path does not extend. (3) between nodes N1 and N2.

The switching device S3 may include a control terminal C_(T) and two connect-terminals T. The switching device S3 may be configured to selectively connect and disconnect the connect-terminals T from one another based on the value of a signal that is applied at the control terminal C_(T). When a first signal is applied at the control terminal C_(T) (e.g., 48V), the switching device S3 may open an electrical path between the connect-terminals T. In such instances, no current may flow between the connect-terminals (across the switching device S3) and the switching device S3 is said to be in an open state. When a second signal is applied at the control terminal C_(T) (e.g., 0V), the switching device S3 may close the electrical path between the connect terminals T. In such instances, current may flow across the switching device S3, between the connect-terminals T, and the switching device S3 is said to be in a closed state.

In the present example, one of the connect-terminals is coupled to the battery 214 and the other-connect terminal is coupled to the anode end of the light source 224. When a first signal is applied on the control terminal C_(T) (e.g., 48V), the switching device S3 may maintain an electrical path between the two connect-terminals T open. When a second signal is applied on the control terminal C_(T) (e.g., 0V), the switching device S3 may close the electrical path between the two connect-terminals T. In some implementations, a diode 288 may be provided at the output terminal T_(O) of the current source 222 to prevent the backflow of current. The capacitors C2 and C2 may be coupled to the lines 246 and 250 to filter out some types of noise, such as switching noise generated by the switching device S3.

The switching device S3 may include any suitable type of switching device. In some implementations, the switching device S3 may include a PINTOS transistor. In such instances, the control terminal C_(T) of the switching device S3 may be the gate of the PMOS transistor. Furthermore, in instances in which the switching device S3 includes a PMOS transistor, the gate of the PMOS transistor may be coupled to a simple Vgs limiting circuit, such as a Zener diode, to limit the voltage at the gate. The Vgs limit may be on the order of 20V.

The controller 240 may include a processor (not shown) and a communications interface (not shown), such as a Bluetooth interface. The processor may include one or more of a general-purpose processor, an application-specific integrated circuit (ASIC), a Field-Programmable Gate Array (FPGA), and or any other suitable type of processing circuitry. The processor may be configured to generate the control signal CTRL (alone or in combination with other circuitry) based on a reference voltage signal DIM that is generated by the dimmer interface 232. The dimmer interface 232 may be configured to generate the reference voltage signal based on an input signal that is fed to the dimmer interface 232 by the dimmer controller 226. In some implementations, the dimmer controller 226 may include a slider, a switch, a knob, and/or another similar device that can be physically manipulated by a user to change the brightness of the light sources 220 and 224. The controller 240 may be powered by a DC-to-DC converter 230, which may be operable to further reduce the 48V DC signal output by the AC-to-DC converter to 3.3V DC.

When power from the AC power supply 260 is available, the switch S1 may be maintained in a closed state by the current-sensing circuitry of the power backup device 212, and the switch S2 may be maintained in an open state by the current-sensing circuitry of the power backup device 212. Concurrently, a 48V DC signal (e.g., DC operational voltage) may be generated by the AC-to-DC converter 216 and routed through the switch S1 of the power backup device 212 and into the current source 222. A PWM signal may be generated by the current source 222 based on the 48V DC signal (e.g., DC operational voltage) and used to power the light source 224. Because no PWM signal is carried over the lines 244 and 246 that connect the current source 222 to the power backup device 212, the amount of EMI generated by the lighting system 200 is greatly reduced. This is partly due to the fact that the lines 244 and 246 may be much longer than the lines connecting the output terminals of the current sources to the light sources. Furthermore, this is in contrast to the lighting system 100, in which the wires that connect the current source 122 to the power backup device 112 carry PWM signals, which in turn causes increased amounts of EMI. It will be recalled that connecting the current source(s) 122/222 to the respective power backup devices 112/126 may be necessary for various practical reasons, such as ensuring that no LEDs are double-driven and/or performing testing sequences.

Furthermore, when current from the AC power supply 260 is available, a 48V DC signal (e.g., DC operational voltage) may be applied at the control terminal C_(T) of the switching device S3 by the AC-to-DC converter 216, which may cause the switching device S3 to remain in the open state.

When the supply of power from the AC power supply 260 is interrupted, the controller 240 may be switched off as a result of having its power supply cut off. When the controller 240 is switched off, it may no longer supply the control signal CTRL to the current source 222, which in turn may cause the current source 222 to become disabled. When the current source 222 is disabled, the electrical path between the input terminal. T1 and the output terminal T_(O) of the current source 222 is interrupted and no current can flow across the current source 222 from the power backup device 212 to the light source 224.

Furthermore, when the supply of current from the AC power supply 260 is interrupted, the current-detecting circuit (not shown) of the power backup device 212 may detect the interruption. In response, the current-detecting circuit (not shown) of the power backup device 212 may reconfigure (e.g., open) switch S1 to disconnect line 244 from line 246, thus leaving line 246 connected only to the positive terminal of the battery 214. Furthermore, in response to detecting that the supply of power from the AC power supply 260 has been interrupted, the current-detecting circuit of the power backup device 212 may reconfigure (e.g., close) the switch S2 to connect the return path of the light source 224 to the negative terminal of the battery 214. Concurrently, when the supply of power from the AC power supply 260 has been interrupted, the signal applied at the control terminal. C_(T) of the switching device S3 by the AC-to-DC converter 216 may change to a logic low value (e.g., 0V), which in turn may cause the switching device S3 to transition into the closed state, thus connecting the positive terminal of the battery 214 to the light source 224. As a result of the reconfiguration of the switches S1, S2, and S3, the light source 224 may begin receiving power from the power backup device S3 and remain operational in the event of a failure of the AC power supply 260 (e.g., in the event of a mains power outage).

FIG. 3 is a state diagram illustrating the operation of the lighting system 200, according to aspects of the disclosure. FIG. 3 shows that during its operation, the system 200 may cycle between at least two operational states, termed “normal power state” and “backup power state.”

When the system 200 is in the normal power state, the light sources 220 and 224 are both powered by the AC-to-DC converter 216. More particularly, when the system 200 is in the normal power state, a supply of AC voltage from the AC power supply 260 is available to the AC-to-DC converter 216, which converts the AC voltage to a 48V DC operational voltage. As discussed above, the 48V DC operational voltage may be used to chive various components of the system 200, such as the controller 240, and the current sources 218 and 222. When the system 200 is in the normal power state, the lines 244 and 246 may be connected to one another by the switch S1, while the negative terminal of the battery 214 may be disconnected from the light source 224 by the switch S2. Furthermore, the switching device S3 may be in the open state as a result of having the operational DC voltage applied by the AC-to-DC converter 216 at the switching device's S3 control terminal C_(T).

When the system 200 is in the backup power state, the light source 220 is switched off, while the light source 224 is powered by the power backup device 212. More particularly, when the system 200 is in the backup power state, the supply of AC voltage from the AC power supply 260 is interrupted. As a result, the AC-to-DC converter 216 may stop outputting the 48V DC operational voltage, causing the controller 240 to become switched off. When the controller 240 is switched off, the control signal CTRL stops being supplied to the current source 222 by the controller 240. When the control signal CTRL is not supplied to the current source 222, the electrical path between the input and output terminals of the current source 222 is interrupted such that no current from the power backup device 212 can flow across the current source 222. Furthermore, line 244 is disconnected from line 246 by the switch S1, while the negative terminal of the battery 214 is connected to the return path 248 of the light source 224 by the switch S2. Furthermore, in the backup power state, the switching device S3 is transitioned into the closed state (as a result of a the 48V DC operational voltage no longer being applied at the control terminal. C_(T) by the AC-to-DC converter 216), which permits current from the battery 214 to flow across the switching device S3 and into the light source 224.

The system 200 may exit the normal power state and transition into the backup power state when the current sensing circuit in the power backup device 212 detects that the supply of power from the AC power supply 260 has been interrupted, causing the AC-to-DC converter 216 to lose its supply of AC voltage and stop receiving any power. The system 200 may exit the backup power state and transition into the normal power state, when the current sensing circuit in the power backup device 212 detects that the supply of power from the AC power supply 260 has been resumed, causing the supply of AC voltage to the AC-to-DC converter 216 to be available.

FIG. 4 is a flowchart of an example of a process 400 that is performed by the system 200 when the system 200 is in the normal power state. At step 410, switch S1 is configured to connect lines 244 and 246 to one another, and the switch. S2 is configured to disconnect the negative terminal of the battery 214 from the return path 248 of the light source 224. At step 420, the switching device S3 is transitioned into the open state as a result of a 48V signal being applied by the AC-to-DC converter 216 at the control terminal C_(T) of the switching device S3. At step 430, an indication of a brightness level is received by the controller 240. In some implementations, the indication may be a voltage signal that is generated by the dimmer controller 226 and the dimmer interface 232 or a message that is received via a communications interface of the controller 240 (e.g., a Bluetooth interface) that specifies a selected brightness level. At step 440, the control signal CTRL is output by the controller to the current sources 218 and 222 based on the received indication. At step 450, the current sources 218 and 222 begin outputting respective PWM signals that are used to (hive the light sources 220 and 224, respectively. As noted above, the PWM signals may each have a duty cycle that depends on the control signal CTRL.

FIG. 5 is a flowchart of an example of a process 500 that is performed by the system 200 when the system 200 is in the backup power state. At step 510, switch S1 is configured to disconnect lines 244 and 246 from one another, and switch. S2 is configured to connect the negative terminal to the battery 214 to the return path 248 of the light source 224. At step 520, the AC-to-DC converter 216 stops outputting a 48V DC signal as a result of losing its AC voltage supply (e.g., due to a municipal power grid failure, etc.). At step 530, the controller 240 is switched off as a result of losing its supply of power from the AC-to-DC converter 216. When the controller is switched off, the control signal CTRL stops being supplied to the current sources 218 and 222. At step 540, the current sources 218 and 222 are disabled due to the loss of the control signal CTRL and they stop supplying respective PWM signals to the light sources 220 and 224. At step 550, the switching device S3 is transitioned into the closed state (e.g., as a result of the 48V DC operational voltage no longer being applied at the control terminal Cr), which causes current to begin flowing from the battery 214 to the light source 224.

FIGS. 1-5 are provided as an example only. At least some detail may be omitted from the figures in order to improve clarity. Furthermore, at least some of the steps in the processes 400 and 500 can be omitted, performed concurrently, or performed in a different order. The present disclosure is not limited to any particular order of performing the steps in the processes 400 and 500, and some or most of these steps can be performed concurrently. Although the disclosure is provided in the context of light-emitting diodes, it will be understood that the system 200 is not limited to using light emitting diodes as light sources. As used throughout the disclosure, the phrase “supply of power is interrupted” may refer to circumstances in which power is no longer supplied without implying anything about the duration of the interruption. For example, the interruption may last for any suitable time period, such as minutes, hours, days, etc. As used throughout the disclosure, the phrase “supply of AC voltage is interrupted” may refer to circumstances in which AC voltage is no longer supplied without implying anything about the duration of the interruption. For example, the interruption may last for any suitable time period, such as minutes, hours, days, etc. At least some of the elements discussed with respect to these figures can be arranged in different order, combined, and/or altogether omitted. It will be understood that the provision of the examples described herein, as well as clauses phrased as “such as,” “e.g.”, “including”, “in some aspects,” “in some implementations,” and the like should not be interpreted as limiting the disclosed subject matter to the specific examples.

Having described the invention in detail, those skilled in the art will appreciate that, given the present disclosure, modifications may be made to the invention without departing from the spirit of the inventive concepts described herein. Therefore, it is not intended that the scope of the invention be limited to the specific embodiments illustrated and described. 

What is claimed is:
 1. A lighting system comprising: a first current source having an input terminal and an output terminal; a backup power source having a local power supply and a plurality of switches configured to decouple the local power supply from the input terminal of the first current source in a normal power mode and to couple the local power supply to the input terminal of the first current source in a backup power mode; and a switch coupled to the backup power source, the switch disposed in parallel with the first current source such that a first connect terminal of the switch is coupled to the input terminal of the first current source and a second connect terminal of the switch is coupled to the output terminal of the first current source, the first terminal and second terminal of the switch configured to be decoupled in the normal power mode and coupled together in the backup power mode.
 2. The lighting system of claim 1, further comprising a controller coupled to the current source to operate the first current source in the normal power mode and disable the first current source in the backup power mode.
 3. The lighting system of claim 2, wherein the controller is configured to control the first current source based on a signal from a dimmer.
 4. The lighting system of claim 1, wherein the backup power source comprises current-sensing circuitry configured to control the plurality of switches to disconnect the local power supply from the first current source in the normal power mode and to connect the local power supply to the first current source in the backup power mode.
 5. The lighting system of claim 4, wherein the current-sensing circuitry is further configured to: detect, in the normal power mode, that power from a main power supply is interrupted and in response control the plurality of switches to couple the local power supply to the first current source, and detect, in the backup power mode, that power from the main power supply is restored and in response control the plurality of switches to decouple the local power supply from the first current source.
 6. The lighting system of claim 1, wherein one of the plurality of switches is configured to, in the normal power mode, supply power from a main power supply to the first current source.
 7. The lighting system of claim 1, wherein: one of the plurality of switches is configured to couple one terminal of the local power supply to the first current source in the normal mode and the backup power mode, and another of the plurality of switches is configured to couple another terminal of the local power supply to the first current source in the backup power mode but not in the normal mode.
 8. The lighting system of claim 1, further comprising a diode disposed between the output terminal of the first current source and the second connect terminal of the switch to prevent backflow of current from the local power supply to the first current source in the backup power mode.
 9. The lighting system of claim 1, further comprising an AC-to-DC converter coupled to the first current source via one of the plurality of switches in the normal power mode and decoupled from the first current source via the one of the plurality of switches in the backup power mode.
 10. The lighting system of claim 1, wherein the switch further comprises a control terminal configured to: detect, in the normal power mode, that power from a main power supply is interrupted and in response couple the first terminal and second terminal, and detect, in the backup power mode, that power from the main power supply is restored and in response in response decouple the first terminal and second terminal.
 11. The lighting system of claim 1, further comprising a second current source having an input terminal and an output terminal, the backup power source configured to provide power to the input terminal of the first current source but not the second current source in the backup power mode, the second connect terminal of the switch coupled to the output terminal of the first current source but not to the output terminal of the second current source.
 12. A method of fabricating a lighting system, the method comprising: coupling a first current source to a backup power source, the first current source having an input terminal and an output terminal, the backup power source having a local power supply and a plurality of switches, the plurality of switches configured to decouple the local power supply from the input, terminal of the first current source in a normal power mode and to couple the local power supply to the input terminal of the first current source in a backup power mode; and coupling a switch to the backup power source and to the first current source such that the switch is disposed in parallel with the first current source, a first connect terminal of the switch coupled to the input terminal of the first current source and a second connect terminal of the switch coupled to the output terminal of the first current source, the first terminal and second terminal of the switch configured to be decoupled in the normal power mode and coupled together in the backup power mode.
 13. The method of claim 12, further comprising coupling a controller to the current source to operate the first current source in the normal power mode and disabling the first current source in the backup power mode.
 14. The method of claim 12, further comprising controlling the plurality of switches using current-sensing circuitry to disconnect the local power supply from the first current source in the normal power mode and to connect the local power supply to the first current source in the backup power mode.
 15. The method of claim 14, further comprising the current-sensing circuitry: detecting, in the normal power mode, that power from a main power supply is interrupted and in response controlling the plurality of switches to couple the local power supply to the first current source, and detecting, in the backup power mode, that power from the main power supply is restored and in response controlling the plurality of switches to decouple the local power supply from the first current source.
 16. The method of claim 12, further comprising preventing backflow of current from the local power supply to the first current source in the backup power mode using a diode disposed between the output terminal of the first current source and the second connect terminal of the switch.
 17. The method of claim 12, further comprising, at a control terminal of the switch: detecting, in the normal power mode, that power from a main power supply is interrupted and in response coupling the first terminal and second terminal, and detecting, in the backup power mode, that power from the main power supply is restored and in response in response decoupling the first terminal and second terminal.
 18. A lighting system comprising: a first light-emitting diode (LED) array and a second LED array; a first current source configured to supply current to the first LED array and a second current source configured to supply current to the second LED array; a backup power source having a local power supply; and a switch coupled to the backup power source, the backup power source configured to supply power to the first LED array via the switch in a backup power mode when power from a main power supply is interrupted but not in a normal power mode when power from the main power supply is supplied to the first current source, the second first LED array not supplied with power from the local power supply in the backup power mode.
 19. The lighting system of claim 18, wherein the power backup device comprises current-sensing circuitry configured to: detect, in the normal power mode, that power from the main power supply is interrupted and in response couple the local power supply to the first LED array, and detect, in the backup power mode, that power from the main power supply is restored and in response decouple the local power supply from the first LED array.
 20. The lighting system of claim 18, wherein the switch further comprises a control terminal configured to: detect, in the normal power mode, that power from the main power supply is interrupted and in response connect the backup power source and the first LED array, and detect, in the backup power mode, that power from the main power supply is restored and in response in response disconnect the backup power source and the first LED array. 